a__from(X) → cons(mark(X), from(s(X)))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
a__minus(X, 0) → 0
a__minus(s(X), s(Y)) → a__minus(mark(X), mark(Y))
a__quot(0, s(Y)) → 0
a__quot(s(X), s(Y)) → s(a__quot(a__minus(mark(X), mark(Y)), s(mark(Y))))
a__zWquot(XS, nil) → nil
a__zWquot(nil, XS) → nil
a__zWquot(cons(X, XS), cons(Y, YS)) → cons(a__quot(mark(X), mark(Y)), zWquot(XS, YS))
mark(from(X)) → a__from(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(minus(X1, X2)) → a__minus(mark(X1), mark(X2))
mark(quot(X1, X2)) → a__quot(mark(X1), mark(X2))
mark(zWquot(X1, X2)) → a__zWquot(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__sel(X1, X2) → sel(X1, X2)
a__minus(X1, X2) → minus(X1, X2)
a__quot(X1, X2) → quot(X1, X2)
a__zWquot(X1, X2) → zWquot(X1, X2)
↳ QTRS
↳ DependencyPairsProof
a__from(X) → cons(mark(X), from(s(X)))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
a__minus(X, 0) → 0
a__minus(s(X), s(Y)) → a__minus(mark(X), mark(Y))
a__quot(0, s(Y)) → 0
a__quot(s(X), s(Y)) → s(a__quot(a__minus(mark(X), mark(Y)), s(mark(Y))))
a__zWquot(XS, nil) → nil
a__zWquot(nil, XS) → nil
a__zWquot(cons(X, XS), cons(Y, YS)) → cons(a__quot(mark(X), mark(Y)), zWquot(XS, YS))
mark(from(X)) → a__from(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(minus(X1, X2)) → a__minus(mark(X1), mark(X2))
mark(quot(X1, X2)) → a__quot(mark(X1), mark(X2))
mark(zWquot(X1, X2)) → a__zWquot(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__sel(X1, X2) → sel(X1, X2)
a__minus(X1, X2) → minus(X1, X2)
a__quot(X1, X2) → quot(X1, X2)
a__zWquot(X1, X2) → zWquot(X1, X2)
MARK(zWquot(X1, X2)) → MARK(X2)
A__SEL(0, cons(X, XS)) → MARK(X)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → MARK(Y)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
A__MINUS(s(X), s(Y)) → MARK(Y)
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(X1, X2)) → MARK(X1)
A__QUOT(s(X), s(Y)) → MARK(Y)
A__QUOT(s(X), s(Y)) → A__QUOT(a__minus(mark(X), mark(Y)), s(mark(Y)))
MARK(quot(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
MARK(cons(X1, X2)) → MARK(X1)
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(quot(X1, X2)) → MARK(X2)
MARK(minus(X1, X2)) → MARK(X2)
A__QUOT(s(X), s(Y)) → A__MINUS(mark(X), mark(Y))
MARK(minus(X1, X2)) → A__MINUS(mark(X1), mark(X2))
MARK(quot(X1, X2)) → A__QUOT(mark(X1), mark(X2))
MARK(minus(X1, X2)) → MARK(X1)
A__MINUS(s(X), s(Y)) → A__MINUS(mark(X), mark(Y))
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → A__QUOT(mark(X), mark(Y))
MARK(s(X)) → MARK(X)
MARK(zWquot(X1, X2)) → A__ZWQUOT(mark(X1), mark(X2))
MARK(zWquot(X1, X2)) → MARK(X1)
A__QUOT(s(X), s(Y)) → MARK(X)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → MARK(X)
A__MINUS(s(X), s(Y)) → MARK(X)
A__FROM(X) → MARK(X)
a__from(X) → cons(mark(X), from(s(X)))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
a__minus(X, 0) → 0
a__minus(s(X), s(Y)) → a__minus(mark(X), mark(Y))
a__quot(0, s(Y)) → 0
a__quot(s(X), s(Y)) → s(a__quot(a__minus(mark(X), mark(Y)), s(mark(Y))))
a__zWquot(XS, nil) → nil
a__zWquot(nil, XS) → nil
a__zWquot(cons(X, XS), cons(Y, YS)) → cons(a__quot(mark(X), mark(Y)), zWquot(XS, YS))
mark(from(X)) → a__from(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(minus(X1, X2)) → a__minus(mark(X1), mark(X2))
mark(quot(X1, X2)) → a__quot(mark(X1), mark(X2))
mark(zWquot(X1, X2)) → a__zWquot(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__sel(X1, X2) → sel(X1, X2)
a__minus(X1, X2) → minus(X1, X2)
a__quot(X1, X2) → quot(X1, X2)
a__zWquot(X1, X2) → zWquot(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
MARK(zWquot(X1, X2)) → MARK(X2)
A__SEL(0, cons(X, XS)) → MARK(X)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → MARK(Y)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
A__MINUS(s(X), s(Y)) → MARK(Y)
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(X1, X2)) → MARK(X1)
A__QUOT(s(X), s(Y)) → MARK(Y)
A__QUOT(s(X), s(Y)) → A__QUOT(a__minus(mark(X), mark(Y)), s(mark(Y)))
MARK(quot(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
MARK(cons(X1, X2)) → MARK(X1)
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(quot(X1, X2)) → MARK(X2)
MARK(minus(X1, X2)) → MARK(X2)
A__QUOT(s(X), s(Y)) → A__MINUS(mark(X), mark(Y))
MARK(minus(X1, X2)) → A__MINUS(mark(X1), mark(X2))
MARK(quot(X1, X2)) → A__QUOT(mark(X1), mark(X2))
MARK(minus(X1, X2)) → MARK(X1)
A__MINUS(s(X), s(Y)) → A__MINUS(mark(X), mark(Y))
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → A__QUOT(mark(X), mark(Y))
MARK(s(X)) → MARK(X)
MARK(zWquot(X1, X2)) → A__ZWQUOT(mark(X1), mark(X2))
MARK(zWquot(X1, X2)) → MARK(X1)
A__QUOT(s(X), s(Y)) → MARK(X)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → MARK(X)
A__MINUS(s(X), s(Y)) → MARK(X)
A__FROM(X) → MARK(X)
a__from(X) → cons(mark(X), from(s(X)))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
a__minus(X, 0) → 0
a__minus(s(X), s(Y)) → a__minus(mark(X), mark(Y))
a__quot(0, s(Y)) → 0
a__quot(s(X), s(Y)) → s(a__quot(a__minus(mark(X), mark(Y)), s(mark(Y))))
a__zWquot(XS, nil) → nil
a__zWquot(nil, XS) → nil
a__zWquot(cons(X, XS), cons(Y, YS)) → cons(a__quot(mark(X), mark(Y)), zWquot(XS, YS))
mark(from(X)) → a__from(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(minus(X1, X2)) → a__minus(mark(X1), mark(X2))
mark(quot(X1, X2)) → a__quot(mark(X1), mark(X2))
mark(zWquot(X1, X2)) → a__zWquot(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__sel(X1, X2) → sel(X1, X2)
a__minus(X1, X2) → minus(X1, X2)
a__quot(X1, X2) → quot(X1, X2)
a__zWquot(X1, X2) → zWquot(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ QDPOrderProof
MARK(zWquot(X1, X2)) → MARK(X2)
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → MARK(Y)
A__MINUS(s(X), s(Y)) → MARK(Y)
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(X1, X2)) → MARK(X1)
A__QUOT(s(X), s(Y)) → MARK(Y)
MARK(quot(X1, X2)) → MARK(X1)
A__QUOT(s(X), s(Y)) → A__QUOT(a__minus(mark(X), mark(Y)), s(mark(Y)))
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(cons(X1, X2)) → MARK(X1)
MARK(minus(X1, X2)) → MARK(X2)
MARK(quot(X1, X2)) → MARK(X2)
A__QUOT(s(X), s(Y)) → A__MINUS(mark(X), mark(Y))
MARK(minus(X1, X2)) → A__MINUS(mark(X1), mark(X2))
MARK(quot(X1, X2)) → A__QUOT(mark(X1), mark(X2))
MARK(minus(X1, X2)) → MARK(X1)
A__MINUS(s(X), s(Y)) → A__MINUS(mark(X), mark(Y))
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → A__QUOT(mark(X), mark(Y))
MARK(s(X)) → MARK(X)
MARK(zWquot(X1, X2)) → A__ZWQUOT(mark(X1), mark(X2))
MARK(zWquot(X1, X2)) → MARK(X1)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → MARK(X)
A__QUOT(s(X), s(Y)) → MARK(X)
A__MINUS(s(X), s(Y)) → MARK(X)
A__FROM(X) → MARK(X)
a__from(X) → cons(mark(X), from(s(X)))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
a__minus(X, 0) → 0
a__minus(s(X), s(Y)) → a__minus(mark(X), mark(Y))
a__quot(0, s(Y)) → 0
a__quot(s(X), s(Y)) → s(a__quot(a__minus(mark(X), mark(Y)), s(mark(Y))))
a__zWquot(XS, nil) → nil
a__zWquot(nil, XS) → nil
a__zWquot(cons(X, XS), cons(Y, YS)) → cons(a__quot(mark(X), mark(Y)), zWquot(XS, YS))
mark(from(X)) → a__from(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(minus(X1, X2)) → a__minus(mark(X1), mark(X2))
mark(quot(X1, X2)) → a__quot(mark(X1), mark(X2))
mark(zWquot(X1, X2)) → a__zWquot(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__sel(X1, X2) → sel(X1, X2)
a__minus(X1, X2) → minus(X1, X2)
a__quot(X1, X2) → quot(X1, X2)
a__zWquot(X1, X2) → zWquot(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A__QUOT(s(X), s(Y)) → A__QUOT(a__minus(mark(X), mark(Y)), s(mark(Y)))
Used ordering: Combined order from the following AFS and order.
MARK(zWquot(X1, X2)) → MARK(X2)
A__SEL(0, cons(X, XS)) → MARK(X)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → MARK(Y)
A__MINUS(s(X), s(Y)) → MARK(Y)
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(X1, X2)) → MARK(X1)
A__QUOT(s(X), s(Y)) → MARK(Y)
MARK(quot(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(cons(X1, X2)) → MARK(X1)
MARK(minus(X1, X2)) → MARK(X2)
MARK(quot(X1, X2)) → MARK(X2)
A__QUOT(s(X), s(Y)) → A__MINUS(mark(X), mark(Y))
MARK(minus(X1, X2)) → A__MINUS(mark(X1), mark(X2))
MARK(quot(X1, X2)) → A__QUOT(mark(X1), mark(X2))
MARK(minus(X1, X2)) → MARK(X1)
A__MINUS(s(X), s(Y)) → A__MINUS(mark(X), mark(Y))
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → A__QUOT(mark(X), mark(Y))
MARK(s(X)) → MARK(X)
MARK(zWquot(X1, X2)) → A__ZWQUOT(mark(X1), mark(X2))
MARK(zWquot(X1, X2)) → MARK(X1)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → MARK(X)
A__QUOT(s(X), s(Y)) → MARK(X)
A__MINUS(s(X), s(Y)) → MARK(X)
A__FROM(X) → MARK(X)
[MARK, ASEL, cons, mark, AZWQUOT, s, AFROM, afrom, asel] > [0, aminus] > [zWquot, sel, minus, nil]
[MARK, ASEL, cons, mark, AZWQUOT, s, AFROM, afrom, asel] > from > [zWquot, sel, minus, nil]
a__quot(s(X), s(Y)) → s(a__quot(a__minus(mark(X), mark(Y)), s(mark(Y))))
mark(nil) → nil
a__zWquot(cons(X, XS), cons(Y, YS)) → cons(a__quot(mark(X), mark(Y)), zWquot(XS, YS))
a__from(X) → from(X)
a__zWquot(nil, XS) → nil
a__sel(X1, X2) → sel(X1, X2)
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__zWquot(XS, nil) → nil
mark(0) → 0
mark(minus(X1, X2)) → a__minus(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
a__zWquot(X1, X2) → zWquot(X1, X2)
mark(quot(X1, X2)) → a__quot(mark(X1), mark(X2))
a__from(X) → cons(mark(X), from(s(X)))
a__quot(X1, X2) → quot(X1, X2)
a__quot(0, s(Y)) → 0
mark(zWquot(X1, X2)) → a__zWquot(mark(X1), mark(X2))
a__minus(X1, X2) → minus(X1, X2)
a__minus(X, 0) → 0
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
a__sel(0, cons(X, XS)) → mark(X)
mark(s(X)) → s(mark(X))
a__minus(s(X), s(Y)) → a__minus(mark(X), mark(Y))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ QDPOrderProof
↳ QDP
MARK(zWquot(X1, X2)) → MARK(X2)
A__SEL(0, cons(X, XS)) → MARK(X)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → MARK(Y)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
A__MINUS(s(X), s(Y)) → MARK(Y)
A__SEL(s(N), cons(X, XS)) → A__SEL(mark(N), mark(XS))
MARK(sel(X1, X2)) → MARK(X1)
A__QUOT(s(X), s(Y)) → MARK(Y)
MARK(quot(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
MARK(cons(X1, X2)) → MARK(X1)
A__SEL(s(N), cons(X, XS)) → MARK(N)
MARK(minus(X1, X2)) → MARK(X2)
MARK(quot(X1, X2)) → MARK(X2)
A__QUOT(s(X), s(Y)) → A__MINUS(mark(X), mark(Y))
MARK(minus(X1, X2)) → A__MINUS(mark(X1), mark(X2))
MARK(quot(X1, X2)) → A__QUOT(mark(X1), mark(X2))
MARK(minus(X1, X2)) → MARK(X1)
A__MINUS(s(X), s(Y)) → A__MINUS(mark(X), mark(Y))
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(N), cons(X, XS)) → MARK(XS)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → A__QUOT(mark(X), mark(Y))
MARK(s(X)) → MARK(X)
MARK(zWquot(X1, X2)) → A__ZWQUOT(mark(X1), mark(X2))
MARK(zWquot(X1, X2)) → MARK(X1)
A__QUOT(s(X), s(Y)) → MARK(X)
A__ZWQUOT(cons(X, XS), cons(Y, YS)) → MARK(X)
A__MINUS(s(X), s(Y)) → MARK(X)
A__FROM(X) → MARK(X)
a__from(X) → cons(mark(X), from(s(X)))
a__sel(0, cons(X, XS)) → mark(X)
a__sel(s(N), cons(X, XS)) → a__sel(mark(N), mark(XS))
a__minus(X, 0) → 0
a__minus(s(X), s(Y)) → a__minus(mark(X), mark(Y))
a__quot(0, s(Y)) → 0
a__quot(s(X), s(Y)) → s(a__quot(a__minus(mark(X), mark(Y)), s(mark(Y))))
a__zWquot(XS, nil) → nil
a__zWquot(nil, XS) → nil
a__zWquot(cons(X, XS), cons(Y, YS)) → cons(a__quot(mark(X), mark(Y)), zWquot(XS, YS))
mark(from(X)) → a__from(mark(X))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(minus(X1, X2)) → a__minus(mark(X1), mark(X2))
mark(quot(X1, X2)) → a__quot(mark(X1), mark(X2))
mark(zWquot(X1, X2)) → a__zWquot(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__sel(X1, X2) → sel(X1, X2)
a__minus(X1, X2) → minus(X1, X2)
a__quot(X1, X2) → quot(X1, X2)
a__zWquot(X1, X2) → zWquot(X1, X2)